package com.example.dingtalk.service;

import com.example.dingtalk.entity.dto.ExcelDto;
import com.example.dingtalk.entity.po.DingoaManagementProcess;
import com.baomidou.mybatisplus.extension.service.IService;

import java.time.LocalDate;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 管理费用审批流程表 服务类
 * </p>
 *
 * @author ckcool
 * @since 2024-08-08
 */
public interface IDingoaManagementProcessService extends IService<DingoaManagementProcess> {
    /**
     * 导出增量数据转化excel对象
     * @return
     */
    List<ExcelDto> toExcelDto(String startDate, String endDate, Boolean flag);

    /**
     * 通过日期转化excel对象
     * @return
     */
    List<ExcelDto> toExcel(String startDate, String endDate,Boolean flag);
}
